using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class SysRoleTable : TableInfo
{
public const string C_TABLENAME = "Sys_Role";

public const string C_ROLEID = "ROLEID";

public const string C_ROLENAME = "ROLENAME";

public const string C_DESCRIPTION = "DESCRIPTION";

public const string C_STATUS = "STATUS";

public const string C_CREATEUSERID = "CREATEUSERID";

public const string C_CREATEDATE = "CREATEDATE";

public const string C_MODIFYUSERID = "MODIFYUSERID";

public const string C_MODIFYDATE = "MODIFYDATE";

public SysRoleTable()
{
_tableName = "Sys_Role";
}

protected static SysRoleTable _current;
public static SysRoleTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new SysRoleTable();

_current.Add(C_ROLEID, new ColumnInfo(C_ROLEID, "", true, typeof(Int32?)));

_current.Add(C_ROLENAME, new ColumnInfo(C_ROLENAME, "", false, typeof(String)));

_current.Add(C_DESCRIPTION, new ColumnInfo(C_DESCRIPTION, "", false, typeof(String)));

_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));

_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));

_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));

_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));

}

public ColumnInfo ROLEID
{
get { return this[C_ROLEID]; }
}

public ColumnInfo ROLENAME
{
get { return this[C_ROLENAME]; }
}

public ColumnInfo DESCRIPTION
{
get { return this[C_DESCRIPTION]; }
}

public ColumnInfo STATUS
{
get { return this[C_STATUS]; }
}

public ColumnInfo CREATEUSERID
{
get { return this[C_CREATEUSERID]; }
}

public ColumnInfo CREATEDATE
{
get { return this[C_CREATEDATE]; }
}

public ColumnInfo MODIFYUSERID
{
get { return this[C_MODIFYUSERID]; }
}

public ColumnInfo MODIFYDATE
{
get { return this[C_MODIFYDATE]; }
}

}
}